import request from '@/utils/request'

// 获取员工列表
export const getEmployeeList = (page, size) => request.get('/sys/user', { params: { page, size }})

// 新增员工
export const addEmployee = data => request.post('/sys/user', data)

// 删除员工
export const delEmployee = id => request.delete(`/sys/user/${id}`)

// 添加excel
export const importEmployee = data => request.post('/sys/user/batch', data)

// 获取员工详情
